package com.wiloon.java8x.mocking;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Roy on 2016/2/25;
 */


public class Singleton {
    private static Logger logger = LoggerFactory.getLogger(Singleton.class);
    private static Singleton instance = new Singleton();

    private Singleton() {
    }

    public static Singleton getInstance() {
        return instance;
    }

    public void getFoo(String str) {
        logger.debug("get foo invoked with:{}", str);
    }
}